package com.story.service;

import java.util.List;

import com.story.domain.Page;
import com.story.domain.User;

public interface IUserService {
	public void registeUser(User user);
	public void deleteUserByUserId(String id);
	public User updateUser(User user);
	public User findOneByUserId(String id);
	public boolean checkUsernameExisted(String username);
	public User findoneByUsername(String username);
	public User loginUser(String username,String password);
	public List<User> findAll();
	public Integer userTotal();
	public List<User> findUsersByLimit(Page page);
	public User findoneByUsernamePassword(String username, String password);
}
